import request from '@/config/axios'
/**
 * 客户查重
 */
export const duplicateSearch = (data) => {
  return request.post({ url: '/customer/customer-check/duplicate-search', data })
}

/**
 * 查询设置字段
 */
export const settingQuery = () => {
  return request.post({ url: '/customer/customer-check/setting-query' })
}

/**
 * 编辑设置字段
 */
export const settingEdit = (data) => {
  return request.post({ url: '/customer/customer-check/setting-edit', data })
}

/**
 * 客户合并
 */
export const merge = (data) => {
  return request.post({ url: '/customer/customer-check/merge', data })
}
